package photorganizer.common.logging;

import photorganizer.common.bean.BeanHome;

public class LoggingHome {

	private static final Logger logger = BeanHome.get(Logger.class);

	public static Logger getLogger() {
		return logger;
	}

	/**
	 * @see Logger#severe(Object...)
	 */
	public static void severe(Object... messageParts) {
		logger.severe(messageParts);
	}

	/**
	 * @see Logger#warning(Object...)
	 */
	public static void warning(Object... messageParts) {
		logger.warning(messageParts);
	}

	/**
	 * @see Logger#info(Object...)
	 */
	public static void info(Object... messageParts) {
		logger.info(messageParts);
	}

	/**
	 * @see Logger#config(Object...)
	 */
	public static void config(Object... messageParts) {
		logger.config(messageParts);
	}

	/**
	 * @see Logger#fine(Object...)
	 */
	public static void fine(Object... messageParts) {
		logger.fine(messageParts);
	}

	private LoggingHome() {
		assert false;
	}

}
